*********************************************************************************************************************************************
* This replication file changes the value of the transportation cost parameter in the cost_price_parameters collection of parameter values. *
*********************************************************************************************************************************************
* 1. Load the current values
* 2. Replace the transportation costs with the values used as a robustness check and store the new parameters.
***********************
* 0 Set path to files *
***********************
clear all
capture log close 
set more off
set trace off
mata: mata set matastrict off
cd $main_directory

// Load the current values
mata: mata matuse "Estimates/cost_price_parameters", replace

//Replace the transportation cost value with 75 Euro
mata: transportation_cost=75/1000 //Transportation cost is thousands of Euro.
mata: mata matsave "Estimates/cost_price_parameters_t75" p_Q1 p_Q2 nu phi aL aM alpha fixed_cost transportation_cost, replace

//Replace the transportation cost value with 125 Euro
mata: transportation_cost=125/1000 //Transportation cost is thousands of Euro.
mata: mata matsave "Estimates/cost_price_parameters_t125" p_Q1 p_Q2 nu phi aL aM alpha fixed_cost transportation_cost, replace
